/*
 @Date: 2022/5/4
 @Desc: 首页item的cell
 */

import UIKit


class IPHomeTitleReusableView: UICollectionReusableView {

    static let reuseId = "title_header_view"
    var didClickMore:(()->Void)?
    
    override func awakeFromNib() {
        super.awakeFromNib()
        
        self.isUserInteractionEnabled = true
        let tap = UITapGestureRecognizer.init(target: self, action: #selector(didClick(_:)))
        addGestureRecognizer(tap)
    }
    
    
    
    @objc private func didClick(_ tap: UITapGestureRecognizer){
        didClickMore?()
    }
}
